package com.zhome.gateway.web;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 获取时间
 * @author cuiyh9
 * @date 2020/5/9
 */
@RestController
@Slf4j
public class ClockController {

    @RequestMapping("/clock")
    public Long clock() {
        return System.currentTimeMillis();
    }
}
